package com.ruoyi.manage.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.manage.domain.AppUser;
import com.ruoyi.manage.domain.request.FaceThanRequest;
import com.ruoyi.manage.domain.request.IdentityInformationRequest;
import com.ruoyi.manage.domain.request.VerificationCodeRequest;

/**
 * @Author: wwy
 * @Date: 2021/3/3 15:04
 */
public interface IAppAuthenticationService {
    /**
     * 获取身份信息
     * @param identityInformationRequest
     * @return
     */
    AjaxResult getIdentityInformation(IdentityInformationRequest identityInformationRequest);

    /**
     * 人脸比对
     * @param faceThanRequest
     * @return
     */
    AjaxResult faceThan(FaceThanRequest faceThanRequest);

    /**
     * 保存用户信息
     * @param appUser
     * @return
     */
    AjaxResult saveInfo(AppUser appUser);

    /**
     * 获取用户条款
     * @return
     */
    AjaxResult getUserTerms();

    /**
     * 获取手机验证码
     * @return
     * @param verificationCodeRequest
     */
    AjaxResult getPhoneVerification(VerificationCodeRequest verificationCodeRequest);
    /**
     * 保存用户信息新版
     * @param appUser
     * @return
     */
    AjaxResult saveInfoNew(AppUser appUser);
}
